[INFO] cloning repository https://github.com/bui-duc-huy/reward-by-block
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bui-duc-huy/reward-by-block" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbui-duc-huy%2Freward-by-block", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbui-duc-huy%2Freward-by-block'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 234698d9763173c049ce62fed6e9e9f4f89b8422
[INFO] checking bui-duc-huy/reward-by-block against master#9610dfe5a9a731ced1ea4923ecbd0c57fe367898 for beta-170-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbui-duc-huy%2Freward-by-block" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/bui-duc-huy/reward-by-block on toolchain 9610dfe5a9a731ced1ea4923ecbd0c57fe367898
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/bui-duc-huy/reward-by-block
[INFO] finished tweaking git repo https://github.com/bui-duc-huy/reward-by-block
[INFO] tweaked toml for git repo https://github.com/bui-duc-huy/reward-by-block written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/bui-duc-huy/reward-by-block already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e503b6b9e92a0e82d9c912b9af98ebea8d1fb5be31dccf32484445b832d46d50
[INFO] running `Command { std: "docker" "start" "-a" "e503b6b9e92a0e82d9c912b9af98ebea8d1fb5be31dccf32484445b832d46d50", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e503b6b9e92a0e82d9c912b9af98ebea8d1fb5be31dccf32484445b832d46d50", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e503b6b9e92a0e82d9c912b9af98ebea8d1fb5be31dccf32484445b832d46d50", kill_on_drop: false }`
[INFO] [stdout] e503b6b9e92a0e82d9c912b9af98ebea8d1fb5be31dccf32484445b832d46d50
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] be80521c79a0d126b3144ede749c9564d39f81e80ddeb4f074bc78318788ac67
[INFO] running `Command { std: "docker" "start" "-a" "be80521c79a0d126b3144ede749c9564d39f81e80ddeb4f074bc78318788ac67", kill_on_drop: false }`
[INFO] [stderr]     Checking calculate_reward_by_block v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected expression, found `,`
[INFO] [stdout]   --> src/main.rs:56:15
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let farmer1 = Farmer {
[INFO] [stdout]    |                   ------ while parsing this struct
[INFO] [stdout] 56 |         farm: ,
[INFO] [stdout]    |               ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `,`
[INFO] [stdout]   --> src/main.rs:56:15
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let farmer1 = Farmer {
[INFO] [stdout]    |                   ------ while parsing this struct
[INFO] [stdout] 56 |         farm: ,
[INFO] [stdout]    |               ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found struct `Farm`
[INFO] [stdout]   --> src/main.rs:53:25
[INFO] [stdout]    |
[INFO] [stdout] 1  | / struct Farm {
[INFO] [stdout] 2  | |     total_reward: u64,
[INFO] [stdout] 3  | |     reward_per_block: u64,
[INFO] [stdout] 4  | |     acc_token_per_share: u64,
[INFO] [stdout] ...  |
[INFO] [stdout] 7  | |     total_supply: u64,
[INFO] [stdout] 8  | | }
[INFO] [stdout]    | |_- `Farm` defined here
[INFO] [stdout] ...
[INFO] [stdout] 53 |       let farm_pointer = &Farm as *mut Farm;
[INFO] [stdout]    |                           ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let farm_pointer = &Farm { total_reward: val, reward_per_block: val, acc_token_per_share: val, start_block: val, last_block_update: val, total_supply: val } as *mut Farm;
[INFO] [stdout]    |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let farm_pointer = &farm as *mut Farm;
[INFO] [stdout]    |                         ~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found struct `Farm`
[INFO] [stdout]   --> src/main.rs:53:25
[INFO] [stdout]    |
[INFO] [stdout] 1  | / struct Farm {
[INFO] [stdout] 2  | |     total_reward: u64,
[INFO] [stdout] 3  | |     reward_per_block: u64,
[INFO] [stdout] 4  | |     acc_token_per_share: u64,
[INFO] [stdout] ...  |
[INFO] [stdout] 7  | |     total_supply: u64,
[INFO] [stdout] 8  | | }
[INFO] [stdout]    | |_- `Farm` defined here
[INFO] [stdout] ...
[INFO] [stdout] 53 |       let farm_pointer = &Farm as *mut Farm;
[INFO] [stdout]    |                           ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let farm_pointer = &Farm { total_reward: val, reward_per_block: val, acc_token_per_share: val, start_block: val, last_block_update: val, total_supply: val } as *mut Farm;
[INFO] [stdout]    |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let farm_pointer = &farm as *mut Farm;
[INFO] [stdout]    |                         ~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing field `total_supply` in initializer of `Farm`
[INFO] [stdout]   --> src/main.rs:45:20
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let mut farm = Farm{
[INFO] [stdout]    |                    ^^^^ missing `total_supply`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing field `total_supply` in initializer of `Farm`
[INFO] [stdout]   --> src/main.rs:45:20
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let mut farm = Farm{
[INFO] [stdout]    |                    ^^^^ missing `total_supply`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0063, E0423.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0063`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0063, E0423.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0063`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `calculate_reward_by_block` (bin "calculate_reward_by_block") due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `calculate_reward_by_block` (bin "calculate_reward_by_block" test) due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "be80521c79a0d126b3144ede749c9564d39f81e80ddeb4f074bc78318788ac67", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be80521c79a0d126b3144ede749c9564d39f81e80ddeb4f074bc78318788ac67", kill_on_drop: false }`
[INFO] [stdout] be80521c79a0d126b3144ede749c9564d39f81e80ddeb4f074bc78318788ac67
